package com.sy.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.sy.entity.Subject;
import lombok.Data;

import java.util.Date;

/**
 * description: CartItem <br>
 * date: 2022/6/26 5:31 PM <br>
 * author: zoumaoji <br>
 * version: 1.0 <br>
 */

@Data
public class CartItem {
    private Integer subjectId;
    private Integer coachId;
    /**课时数例如20节 30节*/
    private Integer duration;
    /**学员人数*/
    private Integer number;
    private String subjectName;
    private String subjectPrice;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
    String subjectPhoto;
    private Long count;
}
